//
//  ICFriendSearchViewController.h
//  ICome
//
//  Created by zhangrongwu on 16/3/15.
//  Copyright © 2016年 iCom. All rights reserved.
//

#import "ICEmpInfoModel.h"

typedef NS_ENUM(NSInteger, ICSearchVCType) {
    SearchCtrStyle_Employee, // 员工编号 进入详细
    SearchCtrStyle_Department, // 部门节点 相应操作
    SearchCtrStyle_AppendEmp, // 添加成员
    SearchCtrStyle_DeleteEmp,
};
@class ICSearchViewController;

@protocol ICSearchViewControllerDelegate <NSObject>

@optional

- (void)didSelectRowAtIndexPath:(NSIndexPath *)indexPath DataSourcmodele:(NSArray *)datasource;

@end

@interface ICSearchViewController : UITableViewController<UISearchResultsUpdating>

@property (nonatomic, strong) NSMutableArray *dataList;

@property (nonatomic, assign)ICSearchVCType searchType;

@property (nonatomic, weak)id <ICSearchViewControllerDelegate> delegate;

@end
